import easygui as g
import sys

try:
    while 1:
        g.msgbox('hi,欢饮进入第一个界面小游戏');

        msg = '请问你希望在鱼c工作室学习到什么知识？'
        title = '小游戏互动'
        choises = ['谈恋爱','编程','ooxx','琴棋书画']

        choise = g.choicebox(msg,title,choises,1)

        g.msgbox('你的选择是：'+str(choise),'结果')

        msg = '你希望重新开始么？'
        title = '请选择'
        if g.ccbox(msg,title):
            pass
        else:
            sys.exit(0)
except OSError as reason:
    print('reason == ',str(reason))
